//
//  PickNum11YDJListViewController.h
//  PlayBall
//
//  Created by Jdd‘s macbook on 13-10-9.
//
//

#import "JddBaseViewController.h"
#import "JddRandomSelectNumView.h"
#import "JddSelectFiveListItemCell.h"
#import "JddSelectFive2ListItemCell.h"
#import "JddSelectFive3ListItemCell.h"
#import "JddQueryDiscountOperation.h"
#import "JddBuyLotteryOperation.h"
#import "JddQueryUserInfoOperation.h"
#import "JddAlertView.h"
#import "JddQueryDigitalLotteryIssueOperation.h"
#import "JddAgreeLotteryForFooterView.h"

@interface JddPickNum11YDJListViewController : JddBaseViewController<UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate, RandomSelectNumViewDelegate, SelectFiveListItemCellDelegate,SelectFive2ListItemCellDelegate,SelectFive3ListItemCellDelegate,UIAlertViewDelegate, UIGestureRecognizerDelegate,JddAlertViewDelegate,QueryDiscountOperationDelegate, QueryDigitalLotteryIssueOperationDelegate,BuyLotteryOperationDelegate,QueryUserInfoOperationDelegate>{
@private
    JddAgreeLotteryForFooterView *agreeLotteryForFooterView;
    NSMutableArray *numberArrayTemp;
    JddRandomSelectNumView *randomSelectNumberDialog;
    NSInteger     noteAmount;
    NSMutableString *discountNo;
    NSNumber        *discountAmount;
    JddAlertView    *alert1;
    BOOL            *loginstate;
    NSMutableArray *numberArray;
    NSString       *lotString;
}

SHARED_VIEW_CONTROLLER_DECLARE(JddPickNum11YDJListViewController);

@property (strong, nonatomic) IBOutlet UITableView *numberListTable;
@property (strong, nonatomic) IBOutlet UITextField *multipleTextField;
@property (strong, nonatomic) IBOutlet UILabel     *noteAmountLabel;
@property (strong, nonatomic) IBOutlet UIButton *buybutton;
@property (strong, nonatomic) IBOutlet UILabel     *playType;
@property (strong, nonatomic) IBOutlet UILabel     *multipleLabel;
@property (strong, nonatomic) IBOutlet UILabel     *moneyAmountLabel;
@property (strong, nonatomic) IBOutlet UIScrollView*bgScrollView;
@property NSMutableArray *numberArray;
@property int PlayMethod;
@property int PlayMethodTemp;
@property (strong, nonatomic) JddLotteryIssue *currentLotteryIssue;

- (void)numberFromArray:(NSArray*)inNumberArray;
-(IBAction)checkValue:(id)sender;
- (IBAction)handleSingleTapGesture:(UITapGestureRecognizer*)sender;
- (IBAction)continueSelectNumberButtonClicked:(id)sender;
- (IBAction)continueRandomSelectNumberButtonClicked:(id)sender;
- (IBAction)clearListButtonClicked:(id)sender;
- (IBAction)plusButtonClicked:(id)sender;
- (IBAction)minusButtonClicked:(id)sender;
- (IBAction)buyButtonClicked:(id)sender;
-(void)destoryView;

- (IBAction)coBuyBtnClick:(id)sender;

@end